package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SpecificRoutineDesignatorSubtype2 implements SpecificRoutineDesignator {

    private int beginIndex;
    private int endIndex;
    private RoutineType routineType;
    private MemberNameAlternatives memberNameAlternatives;
    private DataTypeList dataTypeList;
    private SchemaQualifiedName schemaResolvedUserDefinedTypeName;

    public SpecificRoutineDesignatorSubtype2(int beginIndex,
                                             int endIndex,
                                             RoutineType routineType,
                                             MemberNameAlternatives memberNameAlternatives,
                                             DataTypeList dataTypeList,
                                             SchemaQualifiedName schemaResolvedUserDefinedTypeName) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.routineType = routineType;
        this.memberNameAlternatives = memberNameAlternatives;
        this.dataTypeList = dataTypeList;
        this.schemaResolvedUserDefinedTypeName = schemaResolvedUserDefinedTypeName;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    @Override
    public RoutineType getRoutineType() {
        return routineType;
    }

    public MemberNameAlternatives getMemberNameAlternatives() {
        return memberNameAlternatives;
    }

    public DataTypeList getDataTypeList() {
        return dataTypeList;
    }

    public SchemaQualifiedName getSchemaResolvedUserDefinedTypeName() {
        return schemaResolvedUserDefinedTypeName;
    }

}
